<?php
/**
 * @package if
 * @subpackage config
 */
return array(
	/**
	 * 标准链接
	 * 
	 * 变量：
	 * - %{controller} 控制器名
	 * - %{action} 动作名
	 */
	"standard" => array(
		"path" => "/%{controller}/%{action}",// 访问路径，形如 /user/login
		/**
		 * 设置别名
		 */
		"alias" => array(
			"/%{controller}/index" => "/%{controller}" // 别名，左边是全名，右边是简写名
		)
	),
	
/**	"patterns" => array(
		array(
			"path" => "^/(\w+)/(\w+)",
			"controller" => "$1",
			"action" => "$2",
			"params" => array(
				"xxx" => "$1",
				"yyy" => "$2",
				//...
			)
		)
	),
**/
//	"ext" => "do"
)

?>